#ifndef SROS_LOCATION_UPDATE_BY_POS_HPP
#define SROS_LOCATION_UPDATE_BY_POS_HPP

#include "update_impl.hpp"
#include "predict_by_acc.hpp"

namespace sros::location
{
    class update_by_pos : public update_impl<Eigen::Matrix<double, 1, 3>,
                                            double,
                                            double,
                                            std::shared_ptr<predict_by_acc>>
    {
    public:
        update_by_pos() = default;
        
        ~update_by_pos() = default;

        void update() override;

    protected:
        void init_() override;
    };
}

#endif